package com.ctshk.rpc.season.req;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName SeasonFixedProductPackageProductReq
 * @Description: TODO
 * @Author 杨林
 * @Date 2021/3/9
 **/
@Data
@ApiModel(value = "SeasonFixedProductPackageCommodityReq对象", description = "固定套票商品产品信息req")
public class SeasonFixedProductPackageCommodityReq implements Serializable {

    @ApiModelProperty(value = "商品id")
    private Long productId;

    @ApiModelProperty(value = "打包id")
    private Long packageId;

    @ApiModelProperty(value = "产品编码", required = true)
    @NotNull(message = "产品编码不能为空")
    private String productCode;

    @ApiModelProperty(value = "产品名称", required = true)
    @NotNull(message = "产品名称不能为空")
    private String productName;

    @ApiModelProperty(value = "产品类型", required = true)
    @NotNull(message = "产品类型不能为空")
    private String productType;
    
    @ApiModelProperty(value = "适用人群id", required = true)
    @NotNull(message = "适用人群id不能为空")
    private Long applicableCrowdId;

    @ApiModelProperty(value = "适用人群名称", required = true)
    @NotNull(message = "适用人群名称不能为空")
    private String applicableCrowdName;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "是否默认", required = true)
    private Integer isDefault;

}
